package com.chinasoft.tw.service.chenruihang;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class CRH implements TrueWord {
    String name;
    List<String> wordList = new ArrayList<>();
    Random random = new Random();
    public CRH() {
        {
            this.name = "陈锐杭";
            wordList.add("我再也不熬夜了！！！");
            wordList.add("我要好好锻炼身体！！！");
            wordList.add("我命由我，不由天！！！");
        }
    }
    @Override
    public Info getTrueWord() {
        return new Info(name, wordList.get(random.nextInt(wordList.size())));
    }
}
